package com.bl.student.service.vo.comment;

import com.bl.student.common.enums.CommentType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.validation.constraints.NotNull;

/**
 * Created by liangweikang on 18/2/2.
 */
@Data
@ApiModel(value="添加评论", description="添加评论body", discriminator = "添加评论body")
public class CommentAddVo {

    @NotNull
    @ApiModelProperty(value = "内容")
    private String content;

    @NotNull
    @ApiModelProperty(value = "PARTYB PARTYA 发起的评论")
    @Enumerated(EnumType.STRING)
    private String type;

    @NotNull
    @ApiModelProperty(value = "任务id")
    private String taskId;

    private Double point;

    private String receiverId;
}
